package com.qfedu.yige.service.imp;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qfedu.yige.mapper.CardUserMapper;
import com.qfedu.yige.pojo.Card;
import com.qfedu.yige.pojo.CradUser;
import com.qfedu.yige.service.CardUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import java.util.List;

@Service
public class CardUserServiceimpl extends ServiceImpl<CardUserMapper,CradUser> implements CardUserService{

    @Autowired
    private CardUserMapper cardUserMapper ;

    @Override
    public List<CradUser> findCardByUid(Integer uid) {
        List<CradUser> cardByUid = cardUserMapper.findCardByUid(uid);
        return cardByUid;
    }


}
